package com.tuniu.agents.impl.flight.enums;

import com.tuniu.agents.impl.flight.FlightAgentConfig;
import lombok.Getter;

import static com.tuniu.agents.impl.flight.FlightAgentConfig.FLIGHT_DOMESTIC_ONE_WAY_ANALYSIS_AGENT_ID;
import static com.tuniu.agents.impl.flight.FlightAgentConfig.FLIGHT_DOMESTIC_ROUND_TRIP_ANALYSIS_AGENT_ID;

@Getter
public enum FlightAgentEnum {
    FLIGHT_TRAFFIC_AGENT(FlightAgentConfig.FLIGHT_TICKET_AGENT_ID, "flight.agent.before.message",null),
    FLIGHT_DOMESTIC_ONE_WAY_ANALYSIS_AGENT(FLIGHT_DOMESTIC_ONE_WAY_ANALYSIS_AGENT_ID,null,null),
    FLIGHT_DOMESTIC_ROUND_TRIP_ANALYSIS_AGENT(FLIGHT_DOMESTIC_ROUND_TRIP_ANALYSIS_AGENT_ID,null,null),
    ;

    /**
     * Agent ID
     */
    private String agentId;

    /**
     * Output before agent invocation
     */
    private String before;

    /**
     * Output after agent invocation
     */
    private String after;

    FlightAgentEnum(String agentId, String before, String after) {
        this.agentId = agentId;
        this.before = before;
        this.after = after;
    }
}
